#include <cstdio>

//using namespace std;

class A
{
	int m_value;
public:
	A(int value)
	{
		m_value = value;
	}
	void Print1()
	{
		printf("hello world\n");
	}
	virtual void Print2()
	{
		printf("hello world2\n");
	}
};

int main()
{
	A* pA = NULL;
	pA->Print1();
	pA->Print2();
	return 0;
}
